﻿using System.ComponentModel.DataAnnotations;
using static Modules.CheckIn.CheckInDetailConstants;

namespace ManagementApi.Models.Manage.CheckIn
{
    public class CheckInDetailEditForm
    {
        /// <summary>
        /// 主键 
        ///</summary>
        [Display(Name = "主键")]
        public string Id { get; set; }
        /// <summary>
        /// 进出标识  
        ///</summary>
        [Display(Name = "进出标识")]
        [Required(ErrorMessage = "{0}不能为空")]
        public 进出标识 EntryExitMark { get; set; }
        /// <summary>
        /// 考勤日期 
        ///</summary>
        [Display(Name = "考勤日期")]
        [Required(ErrorMessage = "{0}不能为空")]
        public DateTime? CheckinDate { get; set; }
        /// <summary>
        /// 进场人员id 
        ///</summary>
        [Display(Name = "进场人员id")]
        public int MemberId { get; set; }

        /// <summary>
        /// 考勤月份 
        ///</summary>
        [Display(Name = "考勤月份")]
        public string? Month { get; set; }
    }
}
